<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">${param.title7 }</div>
<table id="basicProjectInfo" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
	<col style="width:20%"/>
	<col style="width:30%"/>
	<col style="width:20%"/>
	<col style="width:30%"/>
	<tr>
		<td align="right"><span class="color_red">*</span>项目名称：</td>
		<td colspan="3">
			<input id="zh_title" name="proposal/zh_title" label="项目名称" type="text" required class="input_css required maxlength:50"  style="width:90%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>归口管理部门：</td>
		<td colspan="3">
		 <c:set var="recomend_org">
		{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />',
		'name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'
		}					
		</c:set> <cpt:tree id="recomend_org" key="recommended_org" cacheable="false" className="hn_iuput_kuang required selectWidth3" readonly="true" value="${recomend_org}" label="归口管理部门"
				showPattern="all" shieldPattern="0" onClick="initTreeValueExt">
			</cpt:tree> 
		<input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" >
		<input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span>获奖项目名称：</td>
		<td colspan="3">
			<input id="award_zh_title" name="proposal/award_zh_title" label="获奖项目名称" type="text" required class="input_css required maxlength:50"  style="width:90%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/award_zh_title" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>获奖项目第一完成单位：</td>
		<td colspan="3">
			<input id="award_first_dept" name="proposal/award_first_dept" label="获奖项目第一完成单位" type="text" required class="input_css required maxlength:50"  style="width:90%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/award_first_dept" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>其他主要完成单位：</td>
		<td colspan="3">
			<input id="award_other_dept" name="proposal/award_other_dept" label="其他主要完成单位" type="text" required class="input_css required maxlength:50"  style="width:90%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/award_other_dept" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>主要完成人：</td>
		<td colspan="3">
			<input id="main_complete_psn" name="proposal/main_complete_psn" label="主要完成人" type="text" required class="input_css required maxlength:50"  style="width:90%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/main_complete_psn" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right">项目联系人姓名：</td>
		<td> 
			<%-- <span name="proposal/contact_psn_cname">
				<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_name"/>
		    </span> --%>
		     <input  type="text" label="项目联系人姓名" name="proposal/contact_psn_cname" class="input_css required" maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />">
		</td>
		<input type="hidden" name="proposal/contact_psn_tel" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel"/>"/>
		<input type="hidden" name="proposal/contact_psn_email" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email"/>"/>
		<td align="right">联系人手机：</td>
		<td> 
			<%-- <span name="proposal/contact_psn_mobile">
				<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_mobile" />
		    </span> --%>
		    <input type="text" label="联系人手机" name="proposal/contact_psn_mobile" class="input_css required mobile" maxlength="11" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />">
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>获奖类型：</td>
		<td colspan="3">
			<cpt:checkbox key="award_type_1" name="award_type" repeatColumn="4" tagType="radio" style="border: 0px; padding: 0px; margin: 0px;" ></cpt:checkbox>
            <input type="hidden" name="proposal/award_type_value" id="missionsource5" value="<x:out select="$xmlData/data/proposal/award_type_value" />" class="required" label="获奖类型"/>
            <input type="hidden" name="proposal/award_type_name" value="<x:out select="$xmlData/data/proposal/award_type_name" />" />
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span>获奖年度：</td>
		<td> 
			<input id="award_year" name="proposal/award_year" label="获奖年度" type="text" onfocus="InitInput.setNumber(this,6,0,0);"  class="input_css required year maxlength:50"  style="text-align:right;width:60%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/award_year" />"/>年 
		</td>
		<td align="right"><span class="color_red">*</span>获奖批准文件：</td>
		<td> 
			<input id="award_file" name="proposal/award_file" label="获奖批准文件" type="text" required class="input_css required maxlength:50"  style="width:74%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/award_file" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>获奖等次：</td>
		<td> 
			<input id="award_level" name="proposal/award_level" label="获奖等次" type="text" required class="input_css required maxlength:50"  style="width:60%;" maxlength="50" value="<x:out select="$xmlData/data/proposal/award_level" />"/>
		</td>
		<td align="right"><span class="color_red">*</span>项目申请金额（万元）：</td>
		<td> 
			<input id="application_amount" name="proposal/application_amount" label="项目申请金额（万元）" type="text" 
			onfocus="InitInput.setNumber(this,9,4,2);" required class="input_css required maxlength:50"  style="text-align:right" maxlength="50" 
			value="<x:out select="$xmlData/data/proposal/application_amount" />"/>
		</td>
	</tr>
	<tr>
		 <td align="right">项目报审级次：<br/>（省补助资金拨付所属财政局）</td>
	        <td>
				<c:set var="sub_step">{'id':'<x:out select="$xmlData/data/proposal/sub_step_value" />','name':'<x:out select="$xmlData/data/proposal/sub_step_name" />'}</c:set>
	          	<cpt:tree key="sub_step" cacheable="false" className="hn_iuput_kuang  " readonly="true" value="${sub_step}"  label="项目报审级次" 
	          		id="sub_step" onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
		        <input id="sub_step_value" type="hidden" name="proposal/sub_step_value" class="required" label="项目报审级次" value="<x:out select="$xmlData/data/proposal/sub_step_value" />"/>
	            <input id="sub_step_name" type="hidden" name="proposal/sub_step_name"  value="<x:out select="$xmlData/data/proposal/sub_step_name" />"/>
			</td>
		
		<td  align="right" ><span class="color_red">*</span>申请日期：</td>
		<td>
			<c:set var="apply_date_curr"><x:out select="$xmlData/data/proposal/apply_date_curr" /></c:set>
			<cpt:date id="apply_date_curr" name="proposal/submit_date" value="${apply_date_curr}" className=" required date" label="申请日期"></cpt:date> 
		</td>
	
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>经费用途（限1000字）：</td>
		<td colspan="3">
		<textarea rows="8" style="width:98%;"  class="input_textarea required maxlength:1000" name='proposal/funding_use' label="经费用途"><x:out select="$xmlData/data/proposal/funding_use"/></textarea>
		<input type='hidden' name='proposal/funding_use_hidden' id='proposal/funding_use_hidden' value=''>
		</td>
	</tr>
</table>
<script type="text/javascript">
function initTreeValueExt(treeId, treeNode) {
 	if ((treeNode && treeNode.isParent)) {
 		scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
 		$("#" + treeId).val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
 		return false;
 	}
 	var str = treeNode.name;
 	var obj = treeNode.parentNode;
 	while (obj != null) {
 		str = obj.name + "-" + str;
 		obj = obj.parentNode;
 	}
 	
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
 }
</script>





























	
